import { makeObservable, observable } from 'mobx';

export default class PermissionsStore {
  permissions: string[];

  constructor() {
    makeObservable(this, {
      permissions: observable,
    });
  }

  setPermissions(permissions: string[]) {
    this.permissions = permissions;
  }
}
